package com.ywu.mq.spi.entity;

import com.ywu.common.entity.CommonEntity;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @ClassName YwuKafkaConsumerLog
 * @Description TODO
 * @Author GroundDemo
 * @Date 2025/3/28 18:48
 * @Version 1.0
 **/
@Data
@ToString
public class YwuKafkaConsumerLogEntity extends CommonEntity {
    public static final String CONSUMING = "consuming";

    public static final String CONSUMED = "consumed";

    private String id;

    private String topicName;

    private String messageId;

    private String groupId;

    private String consumerApp;

    private String consumerStatus;

    private Date beginTime;

    private Date endTime;

    private long totalTime;
}
